package DBLayer;

import java.util.ArrayList;

import ModelLayer.Employee;

public interface IFDBEmployee {
	// get all Employee
    public ArrayList<Employee> getAllEmployees();
    
    //get one Employee having the phoneNo
    public Employee getEmployeeByCPR(String CPR);
    
    //get one Employee having the name
    public Employee getEmployeeByName(String name);
    
    //get one Employee having the id
    public Employee getEmployeeById(int id);
   
    //insert a new Employee
    public int insertEmployee(Employee employee) throws Exception;
    
    //update information about an Employee
    public int updateEmployee(Employee employee);
	
	//delete a Employee
	public int deleteEmployee(Employee employee);
}
